package exercise;

public class EX02_Q11 {

	public static void main(String arg[]) {
		// #11
		int a = 0;
		float b = 0;
		float c = 0;		
		float e = 0;
		float f = 0;
		int g = 0;
		int h = 0;
		int i = 0;
		double k = 0;		

		a = 27 / 13 + 4;
		b = 27 / 13 + 4.0F;
		c = 42.7F % 3 + 18;
		e = 24 / 5 + 23 / 5.0F;
		f = 2.0F + 'a';
		g = 2 + 'a';
		h = 'a' + 'b';
		i = 'a' / 'b';
		k = (double) 'a' / 'b';		

		System.out.println("a. 27 / 13 + 4 = " + a);
		System.out.println("b. 27 / 13 + 4.0 = " + b);
		System.out.println("c. 42.7F % 3 + 18 = " + c);
		System.out.println("d. (3 < 4) && 5 / 8 = 계산 불가능");
		System.out.println("e. 24 / 5 + 23 / 5.0F = " + e);
		System.out.println("f. 2.0F + 'a' = " + f);
		System.out.println("g. 2 + 'a' = " + g);
		System.out.println("h. 'a' + 'b' = " + h);
		System.out.println("i. 'a' / 'b' = " + i);
		System.out.println("j. 'a' && ! 'b' = 계산 불가능");
		System.out.println("k. (double) 'a' / 'b' = " + k);

	}
}
